package com.example.mybatisdemo1.dao;

import com.example.mybatisdemo1.enity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper//表示当前类不是一个普通类，是MyBatis得组件之一
public interface UserMapper {
    List<UserEntity> getAll();
    Integer deleteOne();
    /*List<UserEntity> getAllUser(@Param("na") String name);*/
/*    Integer insertOne();

    Integer updateOne();

    Integer deleteOne();*/
}
